module.exports = {
    base: '/myblog/',
    theme: 'vdoing',
    title: 'hyh的博客',
    description: 'YYY',
    displayAllHeaders: true, // 可选配置，用于显示所有页面的标题链接
    sidebarDepth: 2, // 可选配置，设置侧边栏显示的层级深度
    plugins: [['vuepress-plugin-code-copy', true]],
    // head: [
    //   ['link', { rel: 'stylesheet', href: '/styles/custom.css' }]
    // ],
    // home 配置项
    home: '/',
    themeConfig: {
      nav: [ { text: '首页', link: '/' },
      { text: '前端三剑客', items: [
        { text: 'HTML', link: '/blogs/basics/html/' },
        { text: 'CSS', link: '/blogs/basics/css/' },
        { text: 'JavaScript', link: '/blogs/basics/javascript/' }
      ]},
      { text: '前端资料网站', link: '/blogs/basics/data' },
      { text: '国际化i18n', link: '/blogs/basics/i18n' }
    ],
    sidebar: [
        {
          title: "博客简介",
          path: "/",
        },
        {
          title: "面试篇",
          // path: "/pages/6cbb94/",
          collapsable: true,
          children: [
            { title: "html面试题大全", path: "/blogs/html/html" },
            { title: "css面试题大全", path: "/blogs/2.da" },
            { title: "js面试题大全", path: "/blogs/JavaScript/JavaScript" },
            { title: "vue2面试题大全", path: "/blogs/VUE/Vue" },
            { title: "vue3面试题大全", path: "/blogs/vue3" },
            { title: "浏览器面试题大全", path: "/blogs/browser/browser" },
            { title: "性能优化", path: "/blogs/browser/optimize" },
            { title: "个人面试经历", path: "/blogs/personage/personage" },
          ]
        },
        {
          title:'js基础篇',
          collapsable: true,
          children:[
            { title: "js基础第一天", path: "/blogs/basics/javascript"},
            { title: "js基础第二天", path: "/blogs/basics/javascript2" },
            { title: "js基础第三天", path: "/blogs/basics/javascript3" },
            { title: "js基础第四天", path: "/blogs/basics/javascript4" },
            { title: "js基础第五天", path: "/blogs/basics/javascript5" },
            { title: "js基础第六天", path: "/blogs/basics/javascript6" },
          ]
        },
        {
          title:'es6基础篇',
          collapsable: true,
          children:[
            { title: "es6基础第一天", path: "/blogs/es6js/es6js1"},
            { title: "es6基础第二天", path: "/blogs/es6js/es6js2" },
            { title: "es6基础第三天", path: "/blogs/es6js/es6js3" },
            { title: "es6基础第四天", path: "/blogs/es6js/es6js4" },
            { title: "es6基础第五天", path: "/blogs/es6js/es6js5" },
          ]
        },
        {
          title:'ajax基础篇',
          collapsable: true,
          children:[
            { title: "ajax基础第一天", path: "/blogs/ajax/ajax1"},
            { title: "ajax基础第二天", path: "/blogs/ajax/ajax2" },
            { title: "ajax基础第三天", path: "/blogs/ajax/ajax3" },
            { title: "ajax基础第四天", path: "/blogs/ajax/ajax4" },

          ]
        },
        {
          title:'git基础篇',
          collapsable: true,
          children:[
            { title: "git基础第一天", path: "/blogs/git/git1"},
            { title: "git基础第二天", path: "/blogs/git/git2" },
            { title: "vscode操作git", path: "/blogs/git/vscode" },

          ]
        },
        {
          title:'vue2基础篇',
          collapsable: true,
          children:[
            { title: "vue2基础第一天", path: "/blogs/vue2/vue21"},
            { title: "vue2基础第二天", path: "/blogs/vue2/vue22" },
            { title: "vue2基础第三天", path: "/blogs/vue2/vue23" },
            { title: "vue2基础第四天", path: "/blogs/vue2/vue24" },
            { title: "vue2基础第五天", path: "/blogs/vue2/vue25" },
            { title: "vue2基础第六天", path: "/blogs/vue2/vue26" },
            { title: "vue2基础第七天", path: "/blogs/vue2/vue27" },
            { title: "vue2基础第八天", path: "/blogs/vue2/vue28" },
            { title: "vuex基础", path: "/blogs/vue2/vuex" },

          ]
        },
        {
          title:'vue3基础篇',
          collapsable: true,
          children:[
            { title: "vue3基础第一天", path: "/blogs/vue3/vue31"},
            { title: "vue3基础第二天", path: "/blogs/vue3/vue32" },
            { title: "vue3移动端", path: "/blogs/vue3/vue33" },
            { title: "vue3基础总结", path: "/blogs/vue3/vue34" },

          ]
        },
        {
          title:'react基础篇',
          collapsable: true,
          children:[
            { title: "react基础第一天", path: "/blogs/react/react1"},
            { title: "react基础第二天", path: "/blogs/react/react2" },
            { title: "react基础第三天", path: "/blogs/react/react3" },
          ]
        },
        {
          title:'node基础篇',
          collapsable: true,
          children:[
            { title: "node基础第一天", path: "/blogs/node/node1"},
            { title: "node基础第二天", path: "/blogs/node/node2" },
            { title: "node基础第三天", path: "/blogs/node/node3" },
            { title: "node命令总结", path: "/blogs/node/node4" },
            { title: "node起服务器代理项目", path: "/blogs/node/node5" },
            { title: "koa框架", path: "/blogs/node/node6" },
            { title: "es6模块化补充", path: "/blogs/node/node7" },

          ]
        },
        {
          title:'lodash基础篇',
          collapsable: true,
          children:[
            { title: "对象方法", path: "/blogs/lodash/lodash1"},
            { title: "数组方法", path: "/blogs/lodash/lodash2" },
            { title: "字符串方法", path: "/blogs/lodash/lodash3" },
            { title: "高级函数", path: "/blogs/lodash/lodash4" },
            { title: "函数式编程", path: "/blogs/lodash/lodash5" },
          ]
        },
        {
          title:'小程序基础篇',
          collapsable: true,
          children:[
            { title: "小程序基础第一天", path: "/blogs/uniapp/uniapp1"},
            { title: "小程序基础第二天", path: "/blogs/uniapp/uniapp2" },
            { title: "小程序基础第三天", path: "/blogs/uniapp/uniapp3" },
            { title: "小程序基础第四天", path: "/blogs/uniapp/uniapp4" },
            { title: "小程序基础第五天", path: "/blogs/uniapp/uniapp5" },
            { title: "小程序基础第六天", path: "/blogs/uniapp/uniapp6" },
            { title: "小程序基础第七天", path: "/blogs/uniapp/uniapp7" },
            { title: "小程序打包上线到测试服和正式服", path: "/blogs/uniapp/uniapp8" },

          ]
        },
        {
          title:'浏览器基础篇',
          collapsable: true,
          children:[
            { title: "浏览器工作原理", path: "/blogs/browser/browser1"},
            { title: "js执行逻辑", path: "/blogs/browser/browser2" },
            { title: "为什么js代码会出现爆栈", path: "/blogs/browser/browser3" },
            { title: "var缺陷", path: "/blogs/browser/browser4" },
            { title: "作用域链和闭包", path: "/blogs/browser/browser5" },
            { title: "this", path: "/blogs/browser/browser6" },
            { title: "堆和栈", path: "/blogs/browser/browser7" },
            { title: "垃圾回收", path: "/blogs/browser/browser8" },
            { title: "v8是怎样执行一段代码的", path: "/blogs/browser/browser9" },
            { title: "setTimeout是怎么实现的", path: "/blogs/browser/browser10" },

          ]
        },
      ],
       // 1.接受字符串，它设置了最后更新时间的label，例如：最后更新时间：2019年5月3日 21:51:53
    lastUpdated: '最后更新时间',
    // 2.设置true，开启最后更新时间
    lastUpdated: true,
    editLinks: true,
    editLinkText: '编辑此页',
  
    },
    markdown: {
      // 显示代码块行号
      lineNumbers: true
    },
    algolia: {
      apiKey: '<API_KEY>',
      indexName: '<INDEX_NAME>'
    }
  }
  